package com.song.mall.ware.feign;

import com.song.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 宋超
 * HP - the login name of the current user.
 * 2021/10/13 - the current system date.
 * 19:23 - the current system time.
 */
@FeignClient("mall-order")
public interface OrderFeignService {
    @GetMapping("order/order/status/{orderSn}")
    R getOrderStatus(@PathVariable("orderSn") String orderSn);
}
